package main

import (
	"chain/15-persistence/BLC"
)

func main() {

	genesisBlock := BLC.CreatBlockchain()
	defer genesisBlock.DB.Close()

	genesisBlock.AddBlockToBlockchain("Send 10330RMB to wanglaowu")
	genesisBlock.AddBlockToBlockchain("Send 992200RMB to wanglaowu")
	genesisBlock.AddBlockToBlockchain("Send 60660RMB to wanglaowu")
	genesisBlock.AddBlockToBlockchain("Send 30440RMB to wanglaowu")

	genesisBlock.Printchain()

}
